package com.om.base;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

@Target(FIELD)
@Retention(RUNTIME)
public @interface One2many {
	public String parentColumn();
	public String childColumn();
	public Class<?> childClass();
	public boolean deleteEnable() default true; 
	public boolean autoLoad()     default false;
	public String chainMethod()   default "save";
}
